//#define _CRT_SECURE_NO_WARNINGS 
//#include<stdio.h>
//#include<stddef.h>
//#define my_offsetof(s,m) ((size_t)&(((s*)0)->m))
//typedef struct
//{
//	short a;
//	int b;
//}StructType;
//
//int main()
//{ 
//	int ret = my_offsetof(StructType,b);
//	printf("%d", ret);
//	return 0;
//}

#include<stdio.h>
#define swap_bit_int(n) ((((n) & 0x555555555)<< 1)|(((n)&0xaaaaaaaa)>>1))
int main()
{
	int n = 13;
	int ret = swap_bit_int(n);
	printf("%d", ret);
	return 0;
}